package cn.java.exercises;

public class LoopBreak
{
    public static void main(String[] args)
    {
        String sName[]={"张三","李四","王五","候六","韩梅梅","李明","王平","王海","刘易手","付哲仁"};
        double dFee[]={300,300,300,300,300,0,300,0,300,300};
        boolean bStatus=true;

        for (int i = 0; i < 10; i++)
        {
            if(!bStatus)
            {
                System.out.println("注册还没有结束，提前退出");
                break;
            }
            if(dFee[i] == 0)
            {
                continue;
            }
            else
            {
                System.out.println("序号:"+(i+1)+",姓名:"+sName[i]+",缴费金额:"+dFee[i]);
            }
        }
    }
}
